home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ssssyyyyssssttttuuuunnnneeee((((1111MMMM)))) ssssyyyyssssttttuuuunnnneeee((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- systune - display and set tunable parameters
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ssssyyyyssssttttuuuunnnneeee [ ----bbbbffffiiiirrrr ] [ ----nnnn name ] [ ----pppp rootpath ]
- [ variable [ value ] ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _s_y_s_t_u_n_e is a tool that enables you to examine and configure your tunable
- kernel parameters. _s_y_s_t_u_n_e can adjust some parameters in real time and
- informs you if you need to reboot your system after reconfiguration. It
- saves the reconfigured kernel in /_u_n_i_x._i_n_s_t_a_l_l, unless the ----ffff option is
- used.
-
- _s_y_s_t_u_n_e has two modes: interactive and noninteractive. Interactive mode
- allows you to query information about various portions of tunable
- parameters or to set new values for tunable parameters. Some parameters
- can be changed while the system is running, and some require a new copy
- of the kernel to be booted. To enter interactive mode, use the ----iiii
- option. In noninteractive mode, _s_y_s_t_u_n_e displays the values of one
- tunable parameter or group of tunable parameters, or allows the value of
- one tunable parameter to be changed. Note that you will still be
- prompted for a confirmation when changing a parameter in noninteractive
- mode. To avoid interacting with the confirmation you must use additional
- commands, for example:
-
- # eeeecccchhhhoooo yyyy |||| ssssyyyyssssttttuuuunnnneeee nnnnpppprrrroooocccc 444400000000
-
- Noninteractive mode is the default.
-
- The options are:
-
- ----bbbb Both target kernel and the running system are updated with the
- new values that you specified, if the new values are within the
- legal range for the parameter specified in /_v_a_r/_s_y_s_g_e_n/_m_t_u_n_e.
- The new values with the corresponding tunable variables are also
- added into /_v_a_r/_s_y_s_g_e_n/_s_t_u_n_e file. This is the default behavior.
-
- ----ffff This option forces _s_y_s_t_u_n_e to not save the reconfigured kernel in
- /_u_n_i_x._i_n_s_t_a_l_l. By default, _s_y_s_t_u_n_e tests to see if /_u_n_i_x._i_n_s_t_a_l_l
- exists and whether it is identical to the running system. If it
- is identical, _s_y_s_t_u_n_e makes any changes in /_u_n_i_x._i_n_s_t_a_l_l;
- otherwise, _s_y_s_t_u_n_e copies the current /_u_n_i_x kernel or the kernel
- specified by the ----nnnn option to /_u_n_i_x._i_n_s_t_a_l_l and makes all changes
- to the copied kernel. If the copy fails for any reason, such as
- lack of disk space or the presence of the ----ffff option, the
- currently running kernel is changed.
-
- ----iiii Run _s_y_s_t_u_n_e in interactive mode. When _s_y_s_t_u_n_e is invoked in
- interactive mode, no parameter values are immediately displayed.
- Instead, you see the _s_y_s_t_u_n_e prompt:
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ssssyyyyssssttttuuuunnnneeee((((1111MMMM)))) ssssyyyyssssttttuuuunnnneeee((((1111MMMM))))
-
-
-
- systune->
-
- The commands available in interactive mode are described below.
-
- ----nnnn _n_a_m_e This option specifies an alternate kernel _n_a_m_e to tune in place
- of ////uuuunnnniiiixxxx.
-
- ----pppp _r_o_o_t_p_a_t_h
- If you specify this option, _r_o_o_t_p_a_t_h becomes the starting
- pathname for _s_y_s_t_u_n_e to check for /_v_a_r/_s_y_s_g_e_n/_s_t_u_n_e and
- /_v_a_r/_s_y_s_g_e_n/_m_t_u_n_e. The default _r_o_o_t_p_a_t_h directory is ////.
-
- ----rrrr The new values change on the running system only. If the tunable
- parameter can not be changed on the running system, nothing is
- affected. The default is ----bbbb.
-
- If the name of a variable is specified on the command line, its current
- value is displayed. If the name of a group is specified on the command
- line, the names and values of all variables in that group are displayed.
- If the name of a variable and a value are specified on the command line,
- the variable's value is changed after verification and confirmation.
-
- The _s_y_s_t_u_n_e commands available in interactive mode are:
-
- qqqquuuuiiiitttt Quit _s_y_s_t_u_n_e immediately. Any changes you have made up to that
- point are saved and cannot be discarded. You must go through and
- change back any parameters that you do not wish to be changed.
-
- aaaallllllll Print information on all tunable parameters. This command
- displays the same information as _s_y_s_t_u_n_e invoked in
- noninteractive mode.
-
- hhhheeeellllpppp Show all the built-in commands and group names. _s_y_s_t_u_n_e lists
- two commands (hhhheeeellllpppp and aaaallllllll) and the groups of kernel tunable
- parameters. Each group of tunable parameters is organized so
- that related parameters are kept together. For example, the
- nnnnuuuummmmpppprrrroooocccc parameter group contains parameters related to the number
- of processes allowed to run on the system at any given time. Its
- parameters are:
-
- ncsize = 808 (0x328)
- ncallout = 40 (0x28)
- callout_himark = 332 (0x14c)
- ndquot = 808 (0x328)
- nproc = 300 (0x12c)
-
- _p_a_r_a_m_e_t_e_r__g_r_o_u_p_n_a_m_e
- Display information for all the tunable parameters in this group
- along with their values in decimal numerals and in hexadecimal
- notation.
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- ssssyyyyssssttttuuuunnnneeee((((1111MMMM)))) ssssyyyyssssttttuuuunnnneeee((((1111MMMM))))
-
-
-
- _p_a_r_a_m_e_t_e_r__n_a_m_e
- Display information for this tunable parameter only.
-
- _p_a_r_a_m_e_t_e_r__n_a_m_e _n_e_w_v_a_l_u_e
- Set the specified tunable parameter to the new value. For
- example, to raise the nnnnpppprrrroooocccc parameter in the nnnnuuuummmmpppprrrroooocccc parameter
- group from 300 to 400, follow this example:
-
- systune-> _nnnn_pppp_rrrr_oooo_cccc _4444_0000_0000
- nproc = 300 (0x12c)
-
- Do you really want to change nproc to 400 (0x190)? (y/n) _yyyy
-
- In order for the change in parameter nproc to become
- effective, /unix.install must be moved to /unix and the
- system rebooted.
-
- This message tells you that the change does not take effect until
- a new kernel with the new value is running on your system.
- _s_y_s_t_u_n_e always prints a message to inform you if you need to
- reboot your system for a kernel change to take effect.
-
- _s_y_s_t_u_n_e makes all requested changes to the kernel in three
- places, if possible. (Nondynamically adjustable parameters can
- be changed in only two out of three places.) The parameters are
- changed in:
-
- +o the running kernel image on the workstation
- +o the /_u_n_i_x or /_u_n_i_x._i_n_s_t_a_l_l file
- +o the /_v_a_r/_s_y_s_g_e_n/_s_t_u_n_e file
-
- Some sanity checking is performed on the modified kernel
- parameters to help prevent the creation of kernels that will not
- function correctly. This checking is performed both by _s_y_s_t_u_n_e
- and by the _l_b_o_o_t(1M) command. For example, some variables have
- preset minimum and maximum values. Any attempt to change the
- variable beyond these threshold values results in an error
- message, and the variable is not changed.
-
- BBBBUUUUGGGGSSSS
- When the system calculates its default value for a systune, the resulting
- value may be outside the valid range provided by the mtune file. For
- example, if you set mbmaxpages to 0 (i.e. ask system for default value)
- then on a 32-bit system with 256M of RAM the default is set to 16384.
- However the maximum allowed by mtune is 8192. In this example, the
- system will configure mbmaxpages to 16384 from the default of 0, but it
- is not possible to assign mbmaxpages > 8192 directly from systune because
- of the restriction in mtune.
-
- Also, systune may not show the user-defined value of syssegsz after
- reboot. This is due to the fact that the colormap must be calculated and
- added to syssegsz for machine types IP19, IP20, IP22, and IP32. When
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- ssssyyyyssssttttuuuunnnneeee((((1111MMMM)))) ssssyyyyssssttttuuuunnnneeee((((1111MMMM))))
-
-
-
- systune is called it compares the value of syssegsz in the kernel to the
- value set in /var/sysgen/stune. If this is done on one of the above
- machines, they will not match because syssegsz has been altered with the
- colormap value in the kernel, but not in the stune file. This is a
- normal function and should not be a concern.
-
-
- FFFFIIIILLLLEEEESSSS
- /var/sysgen/mtune/* system tunable parameters
- /var/sysgen/stune local settings for system tunable parameters
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- autoconfig(1M), lboot(1M), mtune(4), stune(4).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-